﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<section data-page="payment_add" data-title="添加支付方式" data-lang="<%=ContentLang%>">
	<dl class="path1">
		<dt><span>您的位置：</span>添加支付方式</dt>
		<dd>
			<select data-class="<%=ContentLang%>Font" data-ali-widget="combo">
				<ali:List Object="Language" Source="Manager.Languages">
					<ali:Record>
						<%If Convert.ToString(Ab) == ContentLang%>
							<option value="<%=Ab%>" selected><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%Else%>
							<option value="<%=Ab%>"><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%EndIf%>
					</ali:Record>
				</ali:List>
			</select>
		</dd>
	</dl>
	<form action="" class="post">
		<div class="post-body">
			<div class="ali-tabs" data-event="click">
				<div class="ali-tabs-header">
					<div class="ali-tabs-nav-container">
						<ul>
							<li><a href="list.aspx?Lang=<%=ContentLang%>" target="ali-navtab">支付方式列表</a></li>
							<li class="ali-active"><a>添加支付方式</a></li>
						</ul>				
					</div>
				</div>
				<div class="ali-tabs-body">
					<div class="ali-tabs-panel"></div>
					<div class="ali-tabs-panel">
						<table class="post-table margin2">
                            <tr>
                                <th>名称：</th>
                                <td><input type="text" name="Name" size="30" maxlength="50" class="ali-input <%=ContentLang%>Font"></td>
                            </tr>
                            <tr>
                                <th>简介：</th>
                                <td>
                                    <textarea cols="70" rows="7" name="Description" class="ali-input <%=ContentLang%>Font" wrap="off"></textarea>
                                </td>
                            </tr>
                            <tr>
                                <th>标志：</th>
 								<td>
									<input type="text" name="Logo" size="60" class="ali-input"><a class="ali-button ali-uploader">浏览...</a>
									<a href="" target="_blank"><img src="" height="22" alt="预览"></a>
                                </td>
                            </tr>
                            <tr>
                                <th>类型：</th>
                                <td>
									<select name="Type" data-ali-widget="combo">
										<option value="FACE_TO_FACE" data-is-online="false">面对面</option>
										<option value="ALIPAY_DIRECT_PAY_BY_PC" data-is-online="true">支付宝（即时到账接口）</option>
										<option value="ALIPAY_DIRECT_PAY_BY_WAP" data-is-online="true">支付宝（手机网站接口）</option>
										<option value="ALIPAY_DIRECT_PAY_BY_BANK" data-is-online="true">支付宝（网银接口）</option>
										<option value="ALIPAY_DIRECT_PAY_BY_APP" data-is-online="true">支付宝（APP接口）</option>
										<option value="WEIXIN_PAY_BY_WAP" data-is-online="true">微信支付（网页接口）</option>
										<option value="WEIXIN_PAY_BY_APP" data-is-online="true">微信支付（APP接口）</option>
										<option value="WEIXIN_PAY_BY_MP" data-is-online="true">微信支付（小程序接口）</option>
										<option value="CHINA_BANK" data-is-online="true">网银在线</option>
										<option value="ICBC" data-is-online="false">工商银行</option>
										<option value="ABC" data-is-online="false">农业银行</option>
										<option value="CCB" data-is-online="false">建设银行</option>
										<option value="CMB" data-is-online="false">招商银行</option>
										<option value="BCM" data-is-online="false">交通银行</option>
										<option value="BOC" data-is-online="false">中国银行</option>
										<option value="CMBC" data-is-online="false">民生银行</option>
										<option value="CIB" data-is-online="false">兴业银行</option>
									</select>
                                </td>
                            </tr>
                            <tr data-id="AccountNameRow">
                                <th>账 户：</th>
                                <td><input type="text" name="AccountName" size="30" maxlength="50"class="ali-input"></td>
                            </tr>
                            <tr data-id="AccountRow">
                                <th>账 号：</th>
                                <td><input type="text" name="Account" size="30" maxlength="50" class="ali-input"></td>
                            </tr>
                            <tr data-id="PartnerIDRow" style="display:none">
                                <th>PID：</th>
                                <td><input type="text" name="PartnerID" size="30" maxlength="50" class="ali-input"></td>
                            </tr>
                            <tr data-id="KeyRow" style="display:none">
                                <th>KEY：</th>
                                <td><input type="password" name="Key" size="30" class="ali-input"></td>
                            </tr>
                            <tr data-id="PublicKeyRow" style="display:none">
                                <th>公钥：</th>
                                <td><input type="text" name="PublicKey" size="30" class="ali-input"></td>
                            </tr>
							<tr data-id="AliPayPublicKeyRow" style="display:none">
								<th>支付宝公钥：</th>
								<td><input type="text" name="AliPayPublicKey" size="30" class="ali-input"></td>
							</tr>
						</table>
					</div>
				</div>
				<div class="ali-tabs-bottom"><b></b></div>
			</div>
		</div>
		<div class="post-footer"><button type="submit" class="ali-button">添 加</button><input type="hidden" name="PictureAllowedType" value="gif|jpg|jpeg|png|bmp"></div>
	</form>
</section>